/**
 * <p>数字控件</p>
 * xtype = cceafnumberfield

 * @module Ext-ux-cceaf-control
 * @class cceaf.control.NumberField
 * @extends Ext.form.NumberField
 * @since 1.0
 */
Ext.define('cceaf.control.NumberField',{
	extend: 'Ext.form.NumberField', 
	requires: [
	    'cceaf.ControlDefaultConfig'
	],
    alias: 'widget.cceafnumberfield',

	constructor: function(config){
		config = config || {};
		
		var defaultFieldWidth = cceaf.ControlDefaultConfig.DEFAULT_FIELD_WIDTH;
		config = Ext.applyIf(config || {}, {
			width: defaultFieldWidth
		});

		cceaf.control.NumberField.superclass.constructor.apply(this, arguments);
	}
	
});